@font-face {
	font-family: 'BebasRegular';
	src: url('../fonts/bebas-webfont.eot?') format('eot'), 
	     url('../fonts/bebas-webfont.woff') format('woff'), 
	     url('../fonts/bebas-webfont.ttf')  format('truetype'),
	     url('../fonts/bebas-webfont.svg#webfontx5e8Hrbo') format('svg');
    font-weight: normal;
	font-style: normal;
}

/*html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,
address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i
,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td
{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}
body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after
{content:'';content:none}:focus{outline:0}ins{text-decoration:none}del{text-decoration:line-through}
table{border-collapse:collapse;border-spacing:0}*/

body
{
    font-size: 75%;
    font-family: Arial, "Helvetica Neue", Helvetica, Sans-Serif;
    color: #232323;
    background-color: #52503b;
    margin: 0;
    padding: 0;
}

/* Typography */

h1, h2
{
	font-family: 'BebasRegular' , Arial, "Helvetica Neue" , Helvetica, Sans-Serif;
	color: #4D5539; /* theme */
	font-weight: normal;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	word-spacing: .2em;
}

h1 { font-size: 20px; }
h2 { font-size: 16px; }

code, pre { font-family: Consolas,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New; }

pre
{
	margin-bottom: 10px;
	overflow: auto;
	width: auto;
	padding: 10px;
	background-color: #F9F9F7;
	border-top: 3px solid #4E5639;
}

/* Layout styles */

a { color: #A38E6C; }
a:hover { color: #B9AA91; }

#container 
{
	width: 960px;
	margin: 0 auto;
	padding: 15px 20px;
	background-color: #fff;
}

#siteHeader 
{
	padding-bottom: 15px;
	margin-bottom: 15px;
	border-bottom: 1px solid #A6AA9C;
	display: block;
}

#logo 
{
	display: block;
	background: #333 url('../images/logo-text2.png') no-repeat -10px 98px;
	width: 128px;
	height: 128px;
	text-indent: -99999px;
	-webkit-transition: background-position .2s ease-out;
	-moz-transition: background-position .2s ease-out;
	-o-transition: background-position .2s ease-out;
	transition: background-position .2s ease-out;
	float: left;
}

.csstransitions #logo:hover 
{
	background-position: 12px 98px;
}

#userMenu 
{
	float: right;
	width: 300px;
	text-align: right;
	margin-right: 15px;
}

#userMenu p
{
	margin: 0;
	font-size: 13px;
	font-weight: bold;
}

#userMenu nav 
{
	float: right;	
} 

#userMenu ul { }
#userMenu ul li { list-style-type: none; padding: 3px 0; }

#loginBox 
{
	float: right;
	width: 250px;
	text-align: right;
	position: relative;
	margin-top: 10px;
}

#loginBox input[type=text], #loginBox input[type=password]
{
	margin-left: 10px;
	margin-bottom: 7px;
	width: 166px;
}

#registerButton 
{
	float: left;
}

#loginBox .buttons
{
	width: 179px;
	float: right;
	margin: 0;
}

#contentArea 
{
	float: right;
	width: 745px;	
	margin-bottom: 1em;
}

#content { margin-top: 10px; }

/* CategoryMenu */

#categoryMenu { width: 200px; float: left; margin-right: 15px; margin-bottom: 15px; }
#categoryMenu ul { margin: 0;  padding:0; }
#categoryMenu ul li { list-style-type: none; margin: 0 0 10px; }
#categoryMenu > ul > li  
{
	margin: 0 0 8px;
}
#categoryMenu > ul > li > a  
{
	display: block; 
	background-color: #7D8D58;  /*theme */
	padding: 7px 9px;
	color: #fff; 
	font-weight: bold;
	font-size: 15px;
	text-decoration: none;                              
}
#categoryMenu > ul > li > a:hover, #categoryMenu > ul > li > a.current 
{
	background-color: #4E5639; /*theme */
}
#categoryMenu ul li ul { margin: 10px 0 10px 20px; }
#categoryMenu > ul > li > ul { margin-left: 13px; }
#categoryMenu ul li ul a { color: #333333; }
#categoryMenu ul li ul a:hover { color: #808080; }
#categoryMenu ul li ul a.current { font-weight: bold; text-decoration: none; }

/* \\CategoryMenu */

/* Search */

#search 
{
	border: 3px solid #4E5639; /* theme */
	position: relative;
	padding: 0;
	margin: 0;
}
#search input[type=text] 
{
	width: 662px;
	border: 0;
	margin: 0;
	padding: 6px;
	font-size: 15px;
	font-weight: bold;
}
#search input[type=text]:focus { outline: none;}
#search input[type=submit] { position: absolute; right: 0; }

/* \\Search */

/* Snippet Item in a list */

.snippetItem 
{
	display: block;
	margin: 15px 0;
}
.snippetItem header { display: block; margin: 5px 0; }
.snippetItem header a
{
	font-size: 14px;
	color: #4C5439; /* theme */
	
}
.snippetItem header a:hover
{
	color: #7D8D58; /* theme */
}
.snippetItem footer
{
	color: #666666;
}
.snippetItem footer a { color: #666666; }
.snippetItem footer a:hover { color: #808080; }

/* //Snippet Item  */

/* SnippetDetails */

.snippetDetails { }
.snippetDetails h1 a { color: #4D5539; /* theme */ text-decoration:none; }
.snippetDetails .information  
{
	width: 185px;
	float: right;
	margin: 0 0 10px 10px;
}
.snippetDetails .information .row { border-bottom: 2px solid #fff; margin-bottom: 5px; padding-bottom: 5px; }
.snippetDetails .information .left { text-transform: lowercase; }
.snippetDetails .information .right { color: #85975E; /* theme */ float:right; }
.snippetDetails .information a { color: #85975E; /* theme */ }
.snippetDetails .information a:hover { color: #4E5639; /* theme */ }
.snippetDetails .information .share { margin-top: 15px; }
.snippetDetails section p { line-height: 1.6em; font-size: 14px; }
.snippetDetails .favorite 
{
	background: url('../images/favorite.png') no-repeat center top;
	width: 62px;
	height: 20px;
	text-indent: -99999px;	
	display: inline-block;
	float: right;
}
.snippetDetails .favorite:hover { background-position: center center; }
.snippetDetails .favorite.active { background-position: center bottom; }

/* //SnippetDetails */

/* Footer */

#footer
{
	display: block;
	border-top: 1px solid #E0E1DF;
	text-align: center;
	color: #C0C0C0;
	font-size: 12px;
	clear: both;
	padding-top: 20px;
	padding-bottom: 10px;
	margin-top: 10px;
}

#footer a { color: #999999; }
#footer a:hover { color: #3BCEFF; }

/* //Footer */

/* LoginPage */

#loginTable { width: 300px; }

/* //LoginPage */

/* ProfilePage */

#profilePage .information span { color: #7D8C58; /* theme */}
#profilePage h1 a.link
{
	color: #7D8D58; /* theme */
	font-size: 12px;
	font-family: Arial, Helvetica, sans-serif;
	text-transform: none;
	letter-spacing: normal;
	word-spacing: normal;
	font-weight: bold;
	float: right;
	margin-left: 15px;
	padding-top: 7px;
}

#profilePage h1 a.link:hover
{
	color: #4E5639; /* theme */
}

#profilePage h1 a.lightButton  
{
	font-size: 12px; 
	font-family: Arial, Helvetica, sans-serif; 
	float: right; 
	margin-left: 20px; 
	letter-spacing: normal; 
	word-spacing: normal;	
}

#profilePage .column2 .infyPaging 
{
	margin-right: 25px;	
}

/* //ProfilePage */

/* UserManage */

#usernameColumn { width: 200px; }
#roleColumn { width: 130px; }
#createdColumn { width: 130px; }

/* //UserManage */

/* SnippetManage */

.markdownEditor
{
	border: 2px solid #4E5639;
	border-top: 0;
	padding: 10px 5px;
	width: 725px;
	height: 300px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	resize: vertical;
}

#snippetTitleColumn { width: 340px; }
#categoryColumn { width: 120px; }
#authorColumn { width: 100px; }

/* //SnippetManage */

/* Settings Manage */

.settingsGroup { display:none; }
#settings * { -webkit-transition: all .5s; -moz-transition: all .8s; transition: all .5s;}

/* //Settings Manage */

/* SearchPage */

.categoryTags h2 { margin-top:-0.5em; margin-bottom: 8px;}
.categoryTags a  
{
	padding: 6px 10px; 
	background: #7D8D58; /*theme */ 
	font-size: 15px; 
	text-decoration: none; 
	color: #fff; 
	font-weight: bold;
	margin-right: 5px; 
	line-height: 2.6em;
}
.categoryTags a:hover { background-color:#4E5639; /*theme */ }

/* //SearchPage */

/* General elements */

table { color: #333; border-spacing: 0px; margin: 10px 0; border: 3px solid #F9F9F7; border-collapse:collapse; }
table.full { width: 100%; }
table a { color: #333; }
table a:hover { color: #808080; }

table thead, table tfoot { background-color: #F9F9F7; }
table thead th  
{
	padding: 8px; 
	border-right: 3px solid white; 
	text-align: left;
}
table thead th:last-child { border-right: 0; }

table tbody td { padding: 8px; border-right: 3px solid #F9F9F7; border-bottom: 3px solid #F9F9F7; }
table tbody td:last-child { border-right: 0; }
table tfoot td { padding: 8px; }

div.undoable, tr.undoable td
{
	border-bottom: 2px solid #fff !important;
	border-top: 2px solid #fff !important;
	background-color: #F9F9F7;
	color: #777;
}
tr.undoable td.status { text-align: left; }
tr.undoable td.undo { text-align: right; }

.user 
{
	background: url('../images/user.png') no-repeat left center;
	padding-left: 12px;
}

.information  
{
	background-color: #F9F9F7; /* theme */ 
	border-top: 3px solid #4E5639; /* theme */
	padding: 10px;
}

.message
{
	background-color: #FFFFCC;
	border-top: 3px solid #979700;
	padding: 10px;
	margin: 1em 0 .5em 0;
}

.infoBox 
{
	background: url('../images/arrow.png') no-repeat center right;
	width: 190px;
	position: absolute;
	right: 187px;
	top: 53px;
	-webkit-transition: opacity .2s linear;
	-moz-transition:  opacity .2s linear;
	-o-transition:  opacity .2s linear;
	transition:  opacity .2s linear;
	opacity: 0;
}
.infoBox.active 
{
	opacity: 1;
}
.infoBox p
{
	background-color: #fff;
	border: 3px solid #4E5639;
	padding: 10px;
	text-align: left;
	width: 155px;
	margin: 0;
}
.infoBox b 
{
	display: inline-block;
	margin-bottom: 5px;	
	padding: 0;
	font-size: 13px;
	color: #4D5539;
}
.tabs 
{
	background-color: #929F6F;	 /* theme */
	
}
.tabs { margin: 0; padding: 0; padding-left: 3px; height: 41px; border-bottom: 2px solid #4E5639; }
.tabs li { list-style-type: none; }
.tabs li a  
{
	display: block;
	float: left;
	background-color: #7D8D58; /* theme */
	color: #fff;
	font-size: 13px;
	font-weight: bold;	
	text-decoration: none;
	text-transform: lowercase;
	padding: 9px 12px;
	margin: 7px 7px 0 5px;
}
.tabs li a:hover
{
	background-color: #6A784B; /* theme */
}
.tabs li a.current { background-color: #4E5639; /* theme */ }
.tabs .search 
{
	float: right;
	margin-top: 8px;
	margin-right: 7px;	
}
.tabs input[type=text]
{
	border-width: 2px;
	border-right: 0;
	margin: 0;
	margin-right: -3px;
}
.tabs input[type=submit]
{
	font-size: 12px;
	padding: 5px;
	padding-bottom: 4px;
	border: 2px solid #4E5639; /* theme */
	border-left: 0;
}

.paging { margin: 0; padding: 0; margin-bottom: 1em;}
.paging li  
{
	list-style-type: none; 
	display: inline-block;
	background-color: #929F6F; /* theme */
	color: #fff;	
	margin-left: 3px;
}
.paging li a   
{
	color: #fff;	
	padding: 4px 6px;
	display: block;
	text-decoration: none;
}
.paging li a:hover
{
	background-color: #4E5639; /* theme */
}
.paging li.current { padding: 4px 6px; background-color: #4E5639; /* theme */ }
.paging .previous-off, .paging .next-off
{
	padding: 4px;
	background-color: #EDEFE7;
	color: #969696;
	padding: 4px 6px;
}
.paging .break 
{
	background-color: transparent;
	margin-right: 4px;
	color: #aaa;	
}

.infyPaging
{
	border: 1px solid #ddd;
	display: block;
	text-align: center;
	padding: 5px;
	margin: 10px auto;
	background-color: #F9F9F7;
	color: #333333;
}

.infyPaging:hover
{
	color: #666666;
}

.infyPaging:before 
{
	content: url('/assets/images/load.gif');
	vertical-align:-4px;
	margin-right: 5px;
}

.infyPaging.loading:before 
{
	content: url('/assets/images/load-loading.gif');
	vertical-align:-4px;
	margin-right: 5px;
}

.hoverButton { visibility: hidden; }
.hoverButtons:hover .hoverButton { visibility: visible; }

/* Styles for basic forms
-----------------------------------------------------------*/

form { padding: 0; margin: 0; }

input[type=submit], .button
{
	padding: 6px 7px;
	font-weight: bold;
	border: 0;
	text-transform: lowercase;
	font-size: 15px;
	cursor: pointer;
	font-family: Arial, "Helvetica Neue", Helvetica, Sans-Serif;
	margin: 0;
	text-decoration: none;
}

.lightButton
{
	padding: 6px 7px;
	background-color: #929F6F;
	color: #fff;
	text-transform: lowercase;
	text-decoration: none;
}

table .lightButton { padding: 4px 7px; }

.lightButton:hover
{
	background-color: #4E5639;
	color: #fff;	
}

input[type=text], input[type=password]
{
	padding: 4px;
	color: #333333;
	font-family: Arial, "Helvetica Neue", Helvetica, Sans-Serif;
}

.largeTextbox { width: 713px !important; padding: 10px !important; border-width: 2px !important; }

select 
{
	border: 3px solid #4E5639;	
	padding: 3px;
}

fieldset 
{
    border:1px solid #ddd;
    padding:0 1.4em 1.4em 1.4em;
    margin:0 0 1.5em 0;
}

legend 
{
    font-size:1.2em;
    font-weight: bold;
}

textarea 
{
    min-height: 75px;
}

.editor-label 
{
    margin: 1em 0 0 0;
}

.editor-field 
{
    margin:0.5em 0 0 0;
}

.formGroupHeader 
{
	background-color: #F9F9F7;
	padding: 5px;
	margin: 0;
	margin-top: 10px;
	font-weight: bold;	
	clear: both;
	font-size: 12px;
}

.formRow 
{
	border-bottom: 2px solid #F9F9F7;
	clear: both;
	padding: 5px;
	padding-bottom: 10px;
	margin: 5px 0;
}

.formRow.last { border-bottom: 0; }

.formRow .formLabel { width: 40%; float: left; margin-top: 3px; }
.formRow .formLabel h4 { margin: 0; font-size: 12px; font-weight: normal; color: #333333; }
.formRow .formLabel p { margin: 0; font-size: 11px; color: #999999; margin-top: 2px; }
.formRow .formElement { width: 60%; float: left; }
.formRow input[type=text], .formRow input[type=password]
{
	width: 200px;
}

.buttonRow { margin: 20px 10px; text-align: right; }
.buttonRow input { margin-left: 10px; }
.cancelLink { font-size: 14px; color: #333; }
.cancelLink:hover { color: #808080; }


/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error
{
    color: #A38E6C;
	margin-left: 8px;
}

.field-validation-valid
{
    display: none;
}

.input-validation-error
{
    border: 3px solid #A38E6C !important;
    background-color: #F9F9F7; /* theme */
}

.validation-summary-errors
{
	font-weight: bold;
	color: #A38E6C; /* theme */
	background-color: #F9F9F7; /* theme */
	padding: 10px;
	margin: 10px 0;
}
.validation-summary-errors ul
{
	margin: 0 0 0 15px;
	padding: 0;
}

.validation-summary-valid
{
    display: none;
}

/* Misc */

.fieldRow { margin-bottom: 1em; }
.fieldRow label { margin-bottom: 3px; display: block; }
.fieldRow input[type=text], .fieldRow input[type=password] { width: 296px; }

.compactForm { width: 310px; margin: 1em 0; }
.actionText
{
	float: left;
	font-size: 12px;
	opacity: 0.5;
	margin: 0;
	padding: 5px 0;
	-webkit-transition: opacity .3s;
	-moz-transition: opacity .3s;
	transition: opacity .3s;
}
.actionText:hover { opacity: 1; }

.column2 { width: 49%; margin-right:1%; float: left; }
.border { border-right: 1px solid #ddd; margin-right: 10px; padding-right: 10px; }

hr 
{
	margin: 1.4em 0 !important;
	border: 1px solid #eee;
	border-top: 0;	
}
mark
{
	background-color: #FFFFCC;
	padding: 2px 3px;
}
.hide { display: none; }
.alignRight { text-align: right; }
.alignLeft { text-align: left; }
.bold { font-weight: bold;}
.light { color: #666666; }
.gray {	color: #808080; }
.fleft { float: right;}

/* Clear Floated Elements
----------------------------------------------------------------------------------------------------*/

/* http://sonspring.com/journal/clearing-floats */

.clear {
	clear: both;
	display: block;
	overflow: hidden;
	visibility: hidden;
	width: 0;
	height: 0;
}

/* http://www.yuiblog.com/blog/2010/09/27/clearfix-reloaded-overflowhidden-demystified */

.clearfix:before,
.clearfix:after {
	content: '\0020';
	display: block;
	overflow: hidden;
	visibility: hidden;
	width: 0;
	height: 0;
}

.clearfix:after {
	clear: both;
}

/*
	The following zoom:1 rule is specifically for IE6 + IE7.
	Move to separate stylesheet if invalid CSS is a problem.
*/

.clearfix {
	zoom: 1;
}

/*http://media01.dconstruct.org/2010-0008/c/s/core.css 
@media all and (max-device-width: 480px), all and (max-width: 800px) 
{
	
	* {
    position: static !important;
    float: none !important;
    clear: both !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    min-width: 0 !important;
    min-height: 0 !important;
	}	
}
*/

.toggleBox
{
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 3px;
	border: 1px solid #B5B5B5;
	clear: both;
	width: 60px;
	height: 24px;
	margin: 6px;
	background-color: #CFCFCF;
	text-shadow: 1px -1px 0px rgba(51, 51, 51, 0.6);
	font-weight: bold;
	color: #fff;
	text-transform: uppercase;
}
.toggleBox > label
{
	overflow: hidden;
	-webkit-transition: left .2s ease-in;
	-moz-transition: left .2s ease-in;
	-o-transition: left .2s ease-in;
	transition: left .2s ease-in;
	position: absolute;
	left: -40px;
	width: 100px;
	-webkit-user-select: none;
}
.toggleBox .separator
{
	background-color: #eeeeee;
	display: inline-block;
	width: 20px;
	padding: 5px 0;
	margin: 0;
	float: left;
	border-radius: 3px;
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#EEEEEE), to(#D6D6D6));
	background: -moz-linear-gradient(0% 100% 90deg,#D6D6D6, #EEEEEE);
}
.toggleBox .on, .toggleBox .off 
{
	margin: 0;
	display:inline-block;
	width: 40px;
	padding: 5px 0;
	text-align: center;
	float: left;

}
.toggleBox .on
{
	box-shadow: inset 0 5px 10px #779E10;
	background-color: #84AF12;
	
	border-top-left-radius: 3px;
	border-bottom-left-radius: 3px;
}
.toggleBox .off
{
	box-shadow: inset 0 5px 10px #9E1E10;
	background-color: #AF2212;
	
	border-top-right-radius: 3px;
	border-bottom-right-radius: 3px;
}
.toggleBox label { cursor: pointer; }
.toggleBox.checked label { left: 0; }
.toggleBox input { position:absolute; left:-999999px; }

.themes .theme  
{
	font-family: 'BebasRegular' , Arial, "Helvetica Neue" , Helvetica, Sans-Serif;
	color: #fff;
	display:inline-block;
	padding: 40px 10px 10px 10px;
	text-align: center;
	margin-right: 5px;
	margin-bottom: 5px;
	cursor: pointer;
}
.themes .theme span { margin-top: 50px;  }
.themes .theme input { margin: 0 3px 0 0; cursor:pointer; }


.themes .green-theme { background-color: #4E5639; border: 2px solid #7D8D58; }
.themes .black-theme { background-color: #333; border: 2px solid #666; }
